$.ajaxSetup({
    type: "post",
    dataType: "json"
});